{{each directories as directory idx}}
<div class="show-content clear" data-name="{{directory.directoryName}}" data-id="{{directory.id}}"
     data-type="directory">
    <div class="res_name">
        <a title="{{directory.directoryName}}" href="javascript:void(0);"
           class="file_class file_class_folder">
            <span>{{directory.directoryName}}</span>
        </a>

    </div>
    <div class="res_opration_area">
        <span class="acount_file">（{{directory.count}}{{ 'TWITTERFILE_ITEMS' | i18n }}）</span>
    </div>
</div>
{{/each}}


{{each twitterFiles as twitterFile idx}}
<div class="show-content clear" systemId="502" systemItemId="{{twitterFile.id}}" data-id="{{twitterFile.id}}" data-type="file">
    <div class="res_name">
        <a title="{{twitterFile.fileName}}" href="javascript:void(0);"
           class="file_class {{twitterFile.fileType}}">
            {{if twitterFile.lockFlag != 0}}
            <i></i>
            {{/if}}
            <span>{{twitterFile.fileName}}</span>
        </a>

        <p class="res-msg"><span>{{twitterFile.timeLine}}</span><span>{{twitterFile.owner}}</span></p>
    </div>
    <div class="res_opration_area file_opration_area">
        {{if twitterFile.downloadFlag != 0}}
        <a title="{{ 'DOWNLOAD' | i18n}}" href="{{twitterFile.downloadUrl}}" class="file_download"
           href="javascript:void(0);"></a>
        {{/if}}
        {{if auth.moved != 0}}
        <a title="{{ 'TWITTERFILE_MOVE' | i18n}}"  data-id="{{twitterFile.id}}" class="file_move" href="javascript:void(0);"></a>
        {{/if}}
        {{if twitterFile.delFlag != 0 || (session.tenantId == 102 && (session.user.id == 52515 || session.user.id == 108 || session.user.id == 107 ) )}}
        <a title="{{ 'DELETE' | i18n}}" data-id="{{twitterFile.id}}" class="file_delete" href="javascript:void(0);"></a>
        {{/if}}
                    <span>
                      <a title="{{ 'TWITTERFILE_FAVORITES' | i18n}}" data-id="{{twitterFile.id}}"
                         class="{{if twitterFile.favTag == 0}}file_uncollect{{else}}file_collect{{/if}}"
                         href="javascript:void(0);"></a>
                    </span>
    </div>
</div>
{{/each}}
<div class="oa-listview-footer">
    <div class="oa-listview-pagination" id="oa-listview-pagination"></div>
</div>

